package com.jalarbee.core.util;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Embeddable;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Embeddable
public class DatePeriod implements Serializable {

	private static final long serialVersionUID = 1L;

	@Temporal(value=TemporalType.DATE)
	private Date beginDate;
	@Temporal(value=TemporalType.DATE)
	private Date endDate;
	
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
}
